<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BUdpSocket</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BUdpSocket">
			<h1>BUdpSocket</h1>
			<p>继承自<a href="BSocket.html">BSocket</a></p>
			<p id="resume"><a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BUdpSocket()">BUdpSocket</a>();</td></tr>
				<tr><td align="right"></td><td><a href="#~BUdpSocket()">~BUdpSocket</a>();</td></tr>
				<tr><td align="right">virtual Type </td><td><a href="#type()">type</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setBufferSize(int)">setBufferSize</a>(int bufferSize);</td></tr>
				<tr><td align="right">int </td><td><a href="#bufferSize()">bufferSize</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#bind(const BString&, int)">bind</a>(const BString& ip, int port);</td></tr>
				<tr><td align="right">int </td><td><a href="#sendTo(const BString&, int, const char*, int)">sendTo</a>(const BString& ip, int port, const char* data, int size);</td></tr>
				<tr><td align="right">int </td><td><a href="#sendTo(const BString&, int, const BByteArray&)">sendTo</a>(const BString& ip, int port, const BByteArray& bytes);</td></tr>
				<tr><td align="right">int </td><td><a href="#sendTo(const BString&, int, const BBuffer&)">sendTo</a>(const BString& ip, int port, const BBuffer& buffer);</td></tr>
				<tr><td align="right">int </td><td><a href="#sendTo(const BString&, int, const BString&)">sendTo</a>(const BString& ip, int port, const BString& text);</td></tr>
				<tr><td align="right">int </td><td><a href="#recvFrom(const BString&, int, char*, int&)">recvFrom</a>(const BString& ip, int port, char* data, int& size);</td></tr>
				<tr><td align="right">int </td><td><a href="#recvFrom(const BString&, int, BByteArray&)">recvFrom</a>(const BString& ip, int port, BByteArray& bytes);</td></tr>
				<tr><td align="right">int </td><td><a href="#recvFrom(const BString&, int, BBuffer&)">recvFrom</a>(const BString& ip, int port, BBuffer& buffer);</td></tr>
				<tr><td align="right">int </td><td><a href="#recvFrom(const BString&, int, BString&)">recvFrom</a>(const BString& ip, int port, BString& text);</td></tr>
				<tr><td align="right">int </td><td><a href="#recv(char*, int)">recv</a>(char* data, int length);</td></tr>
				<tr><td align="right">int </td><td><a href="#recv(BByteArray&)">recv</a>(BByteArray& bytes);</td></tr>
				<tr><td align="right">int </td><td><a href="#recv(BBuffer&)">recv</a>(BBuffer& buffer);</td></tr>
				<tr><td align="right">int </td><td><a href="#recv(BString&)">recv</a>(BString& text);</td></tr>
				<tr><td align="right">int </td><td><a href="#read(BBuffer&)">read</a>(BBuffer& buffer);</td></tr>
				<tr><td align="right">inline int </td><td><a href="#sendTo(const BString&, int, const T&)">sendTo</a>(const BString& ip, int port, const T& data);</td></tr>
				<tr><td align="right">inline int </td><td><a href="#recv(T&)">recv</a>(T& data);</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BUdpSocket()">
				<h3>BUdpSocket();</h3>
			</div>
			<div id="~BUdpSocket()">
				<h3>~BUdpSocket();</h3>
			</div>
			<div id="type()">
				<h3>virtual Type type() const;</h3>
			</div>
			<div id="setBufferSize(int)">
				<h3>bool setBufferSize(int bufferSize);</h3>
			</div>
			<div id="bufferSize()">
				<h3>int bufferSize() const;</h3>
			</div>
			<div id="bind(const BString&, int)">
				<h3>bool bind(const BString&amp; ip, int port);</h3>
			</div>
			<div id="sendTo(const BString&, int, const char*, int)">
				<h3>int sendTo(const BString&amp; ip, int port, const char* data, int size);</h3>
			</div>
			<div id="sendTo(const BString&, int, const BByteArray&)">
				<h3>int sendTo(const BString&amp; ip, int port, const BByteArray&amp; bytes);</h3>
			</div>
			<div id="sendTo(const BString&, int, const BBuffer&)">
				<h3>int sendTo(const BString&amp; ip, int port, const BBuffer&amp; buffer);</h3>
			</div>
			<div id="sendTo(const BString&, int, const BString&)">
				<h3>int sendTo(const BString&amp; ip, int port, const BString&amp; text);</h3>
			</div>
			<div id="recvFrom(const BString&, int, char*, int&)">
				<h3>int recvFrom(const BString&amp; ip, int port, char* data, int&amp; size);</h3>
			</div>
			<div id="recvFrom(const BString&, int, BByteArray&)">
				<h3>int recvFrom(const BString&amp; ip, int port, BByteArray&amp; bytes);</h3>
			</div>
			<div id="recvFrom(const BString&, int, BBuffer&)">
				<h3>int recvFrom(const BString&amp; ip, int port, BBuffer&amp; buffer);</h3>
			</div>
			<div id="recvFrom(const BString&, int, BString&)">
				<h3>int recvFrom(const BString&amp; ip, int port, BString&amp; text);</h3>
			</div>
			<div id="recv(char*, int)">
				<h3>int recv(char* data, int length);</h3>
			</div>
			<div id="recv(BByteArray&)">
				<h3>int recv(BByteArray&amp; bytes);</h3>
			</div>
			<div id="recv(BBuffer&)">
				<h3>int recv(BBuffer&amp; buffer);</h3>
			</div>
			<div id="recv(BString&)">
				<h3>int recv(BString&amp; text);</h3>
			</div>
			<div id="read(BBuffer&)">
				<h3>int read(BBuffer&amp; buffer);</h3>
			</div>
			<div id="sendTo(const BString&, int, const T&)">
				<h3>inline int sendTo(const BString&amp; ip, int port, const T&amp; data);</h3>
			</div>
			<div id="recv(T&)">
				<h3>inline int recv(T&amp; data);</h3>
			</div>
		</div>
	</body>
</html>